<template>
    <div>
        <router-link tag="div" to="/" class="header-back" v-show="showHeaderBack">
            <span class="iconfont icon-back">&#xe611;</span>
        </router-link>
        <div class="header" :style="opacityStyle" v-show="!showHeaderBack">
            <router-link to="/" class="header-left">
                <span class="iconfont header-left-back">&#xe611;</span>
            </router-link>
            故宫(AAAAA景区)
        </div>
    </div>
</template>
<script>
export default {
    name:"DetailHeader",
    data(){
        return{
            showHeaderBack:true,
            opacityStyle:{
                opacity: 0
            }
        }
    }
}
</script>
<style lang="stylus" scoped>

</style>